<!--<div class="ant-upload-list ant-upload-list-picture-card" *ngFor="let item of piclist;let i=index">-->
<!--<div class="ant-upload-list-item ant-upload-list-item-done">-->
<!--<div class="ant-upload-list-item-info">-->
<!--<span>-->
<!--<a class="ant-upload-list-item-thumbnail" [href]="item.src" target="_blank" rel="noopener noreferrer">-->
<!--<img [src]="item.src">-->
<!--</a>-->
<!--<a [href]="item.src" target="_blank" rel="noopener noreferrer" class="ant-upload-list-item-name"-->
<!--title="xxx.png">xxx.png</a>-->
<!--</span>-->
<!--</div>-->
<!--<span class="ant-upload-list-item-actions">-->
<!--<a [href]="item.src" target="_blank" rel="noopener noreferrer" title="Preview file">-->
<!--<i class="anticon anticon-eye-o"></i>-->
<!--</a>-->
<!--<i title="Remove file" class="anticon anticon-delete" (click)="edit ?  editCandelete(i,item.where)  : delete(i);"-->
<!--[class.hidden]="readonly && i == 0"></i>-->
<!--</span>-->
<!--</div>-->
<!--</div>-->
<!--<div class="ant-upload ant-upload-select ant-upload-select-picture-card" (click)="uploadclick()"-->
<!--*ngIf="piclist.length<length">-->
<!--<span tabindex="0" class="ant-upload" role="button">-->
<!--<input type="file" accept="" style="display: none;" #upload (change)="addImage($event)">-->
<!--<div>-->
<!--<i class="anticon anticon-plus"></i>-->
<!--<div class="ant-upload-text">{{uploadname}}</div>-->
<!--</div>-->
<!--</span>-->
<!--</div>-->

<ng-container *ngFor="let item of piclist;let i=index">
  <div class="ant-upload-list ant-upload-list-picture-card" *ngIf="item.src">
    <div class="ant-upload-list-item ant-upload-list-item-done">
      <div class="ant-upload-list-item-info">
        <span>
          <a class="ant-upload-list-item-thumbnail" [href]="item.src" target="_blank" rel="noopener noreferrer">
            <img [src]="item.src">
          </a>
          <a [href]="item.src" target="_blank" rel="noopener noreferrer" class="ant-upload-list-item-name"
             title="xxx.png">xxx.png</a>
        </span>
      </div>
      <span class="ant-upload-list-item-actions">
        <a [href]="item.src" target="_blank" rel="noopener noreferrer" title="Preview file">
          <i class="anticon anticon-eye-o"></i>
        </a>
        <i class="anticon anticon-upload" style="color:#FFF;cursor: pointer;" *ngIf="readonly && i == 0"
           (click)="uploadclick(i)"></i>
        <!--<i  *ngIf="readonly && i == 0" (click)="uploadclick(i)" style="color:#FFF;font-style: normal;">更改</i>-->

        <i title="Remove file" class="anticon anticon-delete" (click)="edit ? delete(i,item.where)  : delete(i);"
           [class.hidden]="readonly && i == 0 || readonly2"></i>
      </span>
    </div>
  </div>
  <div class="ant-upload ant-upload-select ant-upload-select-picture-card" *ngIf="!item.src" (click)="uploadclick(i)">
    <span tabindex="0" class="ant-upload" role="button">
      <div>
        <i class="anticon anticon-plus"></i>
        <div class="ant-upload-text">{{uploadname}}</div>
      </div>
    </span>
  </div>
  <input type="file" accept="" style="display: none;" #upload (change)="addImage($event)">
</ng-container>
